Exception Handling and Term Labelling

نویسندگان

  • Gilles Bernot
  • Pascale Le Gall
چکیده

We propose a new algebraic framework for exception handling which is powerful enough to cope with many exception handling features such that recovery, implicit propagation of exceptions, etc. This formalism is capable of treating all the exceptional cases, including the following ones: “intrinsic” exceptions which are related to the underlying data structure (for instance, popping an emptstack or applying predecessor on zero for natural numbers), exceptions which are relied on “dynamic” properties (as an acces to a non-initialized array cell) or else exceptions which are due to certain limitations (mainly bounded data structures). We show that within the already existing frameworks, the case of bounded data structures with certain recoveries of exceptional values remains unsolved. First, we justify the usefulness of “labelling” some terms in order to easily specify exceptions without inconsistency, and we then define a general framework of label algebras which allows us to “type” terms instead of values. Exception algebras and exception specifications are defined as a direct application of label algebras. Indeed, the usual inconsistency problems raised by exception handling are avoided by the possibility of labelling terms. As a conclusion, we also sketch out how far the application domain of label algebras seems to be much more general than exception handling. Key-words: Algebraic specifications of abstract data types, Error and exception handling, Exception recovery, Bounded data structures, Structured specifications.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Algebraic Semantics of Exception Handling

In this paper, a new semantics for exception handling in algebraic specifications is provided. Our formalism allows all forms of exception and error handling (several error messages, implicit error propagation rule, exception recovery policy), while preserving the existence of initial models. It handles complex examples where various exceptional cases (leading to different processings) can be s...

متن کامل

A Framework for Interactive Exception Management of Long-term Human-Involved Business Processes

While contemporary business modelling languages offer the possibility of describing processes on an abstract operative level there is no computer assisted support in monitoring and exception handling of such workflows. In this paper we discuss an approach to determine a formal representation of workflow execution states by applying methods of artificial intelligence (AI) planning. The hereby in...

متن کامل

Ontology-Driven Context Interpretation and Conflict Resolution in Dialogue-Based Home Care Assistance

In this paper we present a framework for conversational awareness and conflict resolution in spoken dialogue systems for home care assistance. Conversational awareness is supported through OWL ontologies for capturing conversational modalities, while interpretation and incremental context enrichment is facilitated through Description Logics reasoning. Conflict resolution further assists the int...

متن کامل

The effects of long term handling stress on thyroid function in male rats

Inappropriate responsiveness of the stress system may cause numerous alterations in endocrine, metabolic and autonomic systems. Many studies have been carried out on the effects of acute stress on thyroid function but the effects of chronic stress have not been fully investigated. The purpose of this study is to evaluate the effects of long term handling stress on thyroid function. Study was pe...

متن کامل

Exception Handling in Workflow Systems1

In this paper, defeasible workflow is proposed as a framework to support exception handling for workflow management. By using the “justified” ECA rules to capture more contexts in workflow modeling, defeasible workflow uses context dependent reasoning to enhance the exception handling capability of workflow management systems. In particular, this limits possible alternative exception handler ca...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1993